<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <title>配送商信息</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta name="author" content="刘代应">
	<meta name="hashcode" content="-1660782274">
	
	<script>window.duteTag="lz";</script>
	<script type="text/javascript" src="/admin/js/dute-1.0.js"></script>
	<script type="text/javascript" src="/admin/js/jquery-1.7.1.min.js"></script>
	
	<script type="text/javascript" src="/admin/js/lazy3q.ui.js"></script>
	<script>
		document.write('<link rel="stylesheet" type="text/css" href="/admin//css/'+($.cookie('theme')||'elegant')+'/lazy3q.ui.css" /> ');
	</script>
	
	<script type="text/javascript" src="/admin/js/jquery-ui-1.10.2.custom.min.js"></script>
	
	<!-- 用户自定义js(懒加载) -->
	<script type="text/javascript" src="/admin/js/define.js"></script>
	<!-- 用户自定义css样式 -->
	<link rel="stylesheet" type="text/css" href="/admin/css/define.css"/>
	<!-- icon font -->
  	<link rel="stylesheet" href="/admin/css/iconfont.css">
	
	
	
	<script type="text/javascript">
		window.basePath="/";
		window.hashcode = "-1660782274";
	</script>
		
	<!-- 感谢kindeditor出品的在线HTML编辑控件 -->
	<script type="text/javascript" charset="utf-8" src="/admin/js/kindeditor/kindeditor.js"></script>
		
	<!-- 感谢My97DatePicker出品的时间控件 -->
	<script language="javascript" type="text/javascript" src="/admin/js/My97DatePicker/WdatePicker.js"></script>
	
	<!------------------------VIEW_HTML_HEAD------------------------>
	<!------------------------VIEW_HTML_HEAD------------------------>	
	
</head>
<script>
Page({
  data:{
    
  },
  onLoad: function(options) {
  	var THIS = this;
  	THIS.setData(options);
  	$.getAjax("distributor.get.do",options,function(protocol){
  		if(protocol.message){
  			$.toast(protocol.message);
  		}
  		document.title={
  			 "insert":"创建配送商信息"
  			,"inport":"导入配送商信息"
  			,"update":"修改配送商信息"
  			,"detail":"配送商信息详情"
  			
  			
			,"adopt":"审核通过"
			
			,"refuse":"审核拒绝"
			
			
  		}[options.edittype];
  		THIS.setData(protocol.data); 
  		
  		/******************VIEW_HTML_SET_DATA******************/
  		/******************VIEW_HTML_SET_DATA******************/
  	});
  }
});
</script>

<script>
window["lzFlashUrl"]=top.lzFlashUrl||"/admin/flash/";
window["uploadUrl"]=top.uploadUrl||"/admin/upload.do";

$(function(){
		 
	$("#distributorForm").form({
		"":function(){}
		,"distributor.id":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"distributor.name":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "配送商名称不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "配送商名称最大长度为32个字符";
		}
		,"distributor.shopPicture":function(el){
		}
		,"distributor.mobile":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "手机号不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "手机号最大长度为32个字符";
		}
		,"distributor.contacts":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "联系人最大长度为32个字符";
		}
		,"distributor.password":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "密码不能为空";
			}
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "密码最大长度为32个字符";
		}
		,"distributor.address":function(el){
			if(el.value.length>225 && el.value.indexOf("[*]")==-1)
				return "配送商地址最大长度为225个字符";
		}
		,"distributor.location":function(el){
		}
		,"distributor.member":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"distributor.deliveryTime":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "提货时间最大长度为32个字符";
		}
		,"distributor.longitude":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "经度最大长度为32个字符";
		}
		,"distributor.latitude":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "纬度最大长度为32个字符";
		}
		,"distributor.termsConditions":function(el){
		}
		,"distributor.perfectSituation":function(el){
				if(el.value.length>10)
					return "数字太大了";
					 var pattern = /^-?(0|[1-9][0-9]*)?$/;
					 if(!pattern.test(el.value))
						return "请输入正确格式的数字";			
		}
		,"distributor.coordinateAddress":function(el){
			if(el.value.length>225 && el.value.indexOf("[*]")==-1)
				return "坐标地址最大长度为225个字符";
		}
		,"distributor.auditOpinion":function(el){
			if(el.value.length>256 && el.value.indexOf("[*]")==-1)
				return "审核意见最大长度为256个字符";
		}
		,"distributor.dFormid":function(el){
			if(el.value.length>32 && el.value.indexOf("[*]")==-1)
				return "formId最大长度为32个字符";
		}
		,"distributor.updateTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "修改时间不能为空";
			}
		}
		,"distributor.addTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "添加时间不能为空";
			}
		}
		,"distributor.status":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "请选择状态";
			}
		}
	},function(){
		/******************************LAZY3Q_FORM_VALIDATE******************************/
		/******************************LAZY3Q_FORM_VALIDATE******************************/
	});		
});
</script>
 
<body style="display:none;">



<!------------------------VIEW_HTML_TOP------------------------>
<!------------------------VIEW_HTML_TOP------------------------>




<form enctype="{{inports!=null?'multipart/form-data':''}}" lz:if="{{edittype=='insert'||edittype=='update'||edittype=='detail'||edittype=='any'||edittype=='inport'}}" class="form editform edittype_{{edittype}}" ref="Distributor" id="distributorForm" name="distributorForm" target="jsoniframe" action="distributor.{{edittype=='any'?'update':edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt" style="display:none;">
				温馨提示：请仔细填写配送商信息相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
			
			
			<lz:block lz:if="{{inports}}">
			  <div class="line"></div>
			  <dl style="width:98%;">
			  	<dt>Excel文件:</dt>
			  	<dd>
			  		<input type="hidden" value="{{inports}}" name="inports" id="inports" />
			  		<input type="hidden" value="{{inport$}}" name="inport$" id="inport$" />
			  		<input name="file" name="file" type="file"/>
			  		<b>*</b>
			  		<div>
						请上传excel文件，表格列依次为：[{{inport$}}]，excel表格第一行为列名称，将不作为上传数据行
					</div>
			  	</dd>
			  </dl>
			  <div class="line"></div>
			</lz:block>
			
			
					
	{{lz.set("id_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"id"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"id"))))}}
	{{lz.set("id_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$id}}
	<dl lz:if="{{id_editable||id_readonly}}" class="id hidden " major  ref="id">
		<dt>编　　号:</dt>
		<dd lz:if="{{id_editable}}" input="hidden">
			<lz:block lz:if="{{distributor$id}}">
				{{distributor$id}}
			</lz:block>
			<lz:block lz:if="{{!distributor$id}}">
			<input type="hidden" value="{{lz.htm(distributor.id)}}" name="distributor.id" id="id" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{id_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="id">{{distributor.id}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.id$||distributor.id)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$id}}
					
	{{lz.set("name_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"name"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"name"))))}}
	{{lz.set("name_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$name}}
	<dl lz:if="{{name_editable||name_readonly}}" class="name  " major  ref="name">
		<dt>配送商名称:</dt>
		<dd lz:if="{{name_editable}}" input="text">
			<lz:block lz:if="{{distributor$name}}">
				{{distributor$name}}
			</lz:block>
			<lz:block lz:if="{{!distributor$name}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.name" id="name"  value="{{lz.htm(distributor.name)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商信息的配送商名称</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{name_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="name">{{distributor.name}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.name$||distributor.name)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$name}}
					
	{{lz.set("shopPicture_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"shopPicture"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"shopPicture"))))}}
	{{lz.set("shopPicture_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$shopPicture}}
	<dl lz:if="{{shopPicture_editable||shopPicture_readonly}}" class="ribs shopPicture   wider" major  ref="shopPicture">
		<dt>店面图片:</dt>
		<dd lz:if="{{shopPicture_editable}}" input="image">
			<lz:block lz:if="{{distributor$shopPicture}}">
				{{distributor$shopPicture}}
			</lz:block>
			<lz:block lz:if="{{!distributor$shopPicture}}">
		    <input type="text" class="input" maxlength="128" size="32" name="distributor.shopPicture" id="shopPicture"  value="{{lz.htm(distributor.shopPicture)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#shopPicture').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#shopPicture').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#shopPicture').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 
	 	 <em>请上传配送商信息的店面图片</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{shopPicture_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="shopPicture">{{distributor.shopPicture}}</textarea>
		 		<span>
		 	<img lz:if="{{distributor.shopPicture}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(distributor.shopPicture)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$shopPicture}}
					
	{{lz.set("mobile_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"mobile"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"mobile"))))}}
	{{lz.set("mobile_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$mobile}}
	<dl lz:if="{{mobile_editable||mobile_readonly}}" class="mobile  " major  ref="mobile">
		<dt>手 机 号:</dt>
		<dd lz:if="{{mobile_editable}}" input="text">
			<lz:block lz:if="{{distributor$mobile}}">
				{{distributor$mobile}}
			</lz:block>
			<lz:block lz:if="{{!distributor$mobile}}">
		 	<input type="text" class="input narrow"   name="distributor.mobile" id="mobile"  value="{{lz.htm(distributor.mobile)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商信息的手机号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{mobile_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="mobile">{{distributor.mobile}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.mobile$||distributor.mobile)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$mobile}}
					
	{{lz.set("contacts_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"contacts"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"contacts"))))}}
	{{lz.set("contacts_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$contacts}}
	<dl lz:if="{{contacts_editable||contacts_readonly}}" class="ribs contacts  " major  ref="contacts">
		<dt>联 系 人:</dt>
		<dd lz:if="{{contacts_editable}}" input="text">
			<lz:block lz:if="{{distributor$contacts}}">
				{{distributor$contacts}}
			</lz:block>
			<lz:block lz:if="{{!distributor$contacts}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.contacts" id="contacts"  value="{{lz.htm(distributor.contacts)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的联系人</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{contacts_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="contacts">{{distributor.contacts}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.contacts$||distributor.contacts)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$contacts}}
					
	{{lz.set("password_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"password"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"password"))))}}
	{{lz.set("password_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$password}}
	<dl lz:if="{{password_editable||password_readonly}}" class="password  " major  ref="password">
		<dt>密　　码:</dt>
		<dd lz:if="{{password_editable}}" input="text">
			<lz:block lz:if="{{distributor$password}}">
				{{distributor$password}}
			</lz:block>
			<lz:block lz:if="{{!distributor$password}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.password" id="password"  value="{{lz.htm(distributor.password)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商信息的密码</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{password_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="password">{{distributor.password}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.password$||distributor.password)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$password}}
					
	{{lz.set("address_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"address"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"address"))))}}
	{{lz.set("address_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$address}}
	<dl lz:if="{{address_editable||address_readonly}}" class="ribs address   wider" minor  ref="address">
		<dt>配送商地址:</dt>
		<dd lz:if="{{address_editable}}" input="textarea">
			<lz:block lz:if="{{distributor$address}}">
				{{distributor$address}}
			</lz:block>
			<lz:block lz:if="{{!distributor$address}}">
		 	<textarea class="input wide"  id="address" name="distributor.address" rows="5">{{distributor.address}}</textarea>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的配送商地址</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{address_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(distributor.address$||distributor.address)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$address}}
					
	{{lz.set("location_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"location"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"location"))))}}
	{{lz.set("location_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$location}}
	<dl lz:if="{{location_editable||location_readonly}}" class="ribs location  " major  ref="location">
		<dt>所 在 地:</dt>
		<dd lz:if="{{location_editable}}" input="tree">
			<lz:block lz:if="{{distributor$location}}">
				{{distributor$location}}
			</lz:block>
			<lz:block lz:if="{{!distributor$location}}">
		  			<select class="tree narrow"  id="location" name="distributor.location" action="/admin/setting/region.query.do?parenter={param}">
						<option value="{{lz.htm(distributor.location)}}">{{distributor.location$||distributor.location}}</option>
					</select>			  		
	 	 </lz:block>
	 	 
	 	 <em>请选择配送商信息的所在地</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{location_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="location">{{distributor.location}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/setting/region.details.html?key=distributor.location}')">
			 {{lz.html(distributor.location$||distributor.location)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$location}}
					
	{{lz.set("member_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"member"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"member"))))}}
	{{lz.set("member_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$member}}
	<dl lz:if="{{member_editable||member_readonly}}" class="member  " major  ref="member">
		<dt>会员信息:</dt>
		<dd lz:if="{{member_editable}}" input="query">
			<lz:block lz:if="{{distributor$member}}">
				{{distributor$member}}
			</lz:block>
			<lz:block lz:if="{{!distributor$member}}">
		 			<input title="请输入会员信息昵称进行查询" class="combox narrow" action="/admin/users/member.query.do?value={param}" type="text" id="member" name="distributor.member" text="{{lz.html(distributor.member$||distributor.member)}}" value="{{lz.htm(distributor.member)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#member').val())==''){return;};window.href('/admin/users/member.detail.html?key='+$('#member').val())"></a>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{member_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="member">{{distributor.member}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/users/member.details.html?key=distributor.member}')">
			 {{lz.html(distributor.member$||distributor.member)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$member}}
					
	{{lz.set("nickName_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"nickName"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"nickName"))))}}
	{{lz.set("nickName_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$nickName}}
	<dl lz:if="{{nickName_editable||nickName_readonly}}" class="ribs nickName  " major  ref="nickName">
		<dt>会员名称:</dt>
		<dd lz:if="{{nickName_editable}}" input="text">
			<lz:block lz:if="{{distributor$nickName}}">
				{{distributor$nickName}}
			</lz:block>
			<lz:block lz:if="{{!distributor$nickName}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.nickName" id="nickName"  value="{{lz.htm(distributor.nickName)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的会员名称</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{nickName_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="nickName">{{distributor.nickName}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.nickName$||distributor.nickName)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$nickName}}
					
	{{lz.set("deliveryTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"deliveryTime"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"deliveryTime"))))}}
	{{lz.set("deliveryTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$deliveryTime}}
	<dl lz:if="{{deliveryTime_editable||deliveryTime_readonly}}" class="ribs deliveryTime  " major  ref="deliveryTime">
		<dt>提货时间:</dt>
		<dd lz:if="{{deliveryTime_editable}}" input="text">
			<lz:block lz:if="{{distributor$deliveryTime}}">
				{{distributor$deliveryTime}}
			</lz:block>
			<lz:block lz:if="{{!distributor$deliveryTime}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.deliveryTime" id="deliveryTime"  value="{{lz.htm(distributor.deliveryTime)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的提货时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{deliveryTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="deliveryTime">{{distributor.deliveryTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.deliveryTime$||distributor.deliveryTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$deliveryTime}}
					
	{{lz.set("longitude_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"longitude"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"longitude"))))}}
	{{lz.set("longitude_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$longitude}}
	<dl lz:if="{{longitude_editable||longitude_readonly}}" class="ribs longitude  " major  ref="longitude">
		<dt>经　　度:</dt>
		<dd lz:if="{{longitude_editable}}" input="text">
			<lz:block lz:if="{{distributor$longitude}}">
				{{distributor$longitude}}
			</lz:block>
			<lz:block lz:if="{{!distributor$longitude}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.longitude" id="longitude"  value="{{lz.htm(distributor.longitude)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的经度</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{longitude_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="longitude">{{distributor.longitude}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.longitude$||distributor.longitude)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$longitude}}
					
	{{lz.set("latitude_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"latitude"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"latitude"))))}}
	{{lz.set("latitude_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$latitude}}
	<dl lz:if="{{latitude_editable||latitude_readonly}}" class="ribs latitude  " major  ref="latitude">
		<dt>纬　　度:</dt>
		<dd lz:if="{{latitude_editable}}" input="text">
			<lz:block lz:if="{{distributor$latitude}}">
				{{distributor$latitude}}
			</lz:block>
			<lz:block lz:if="{{!distributor$latitude}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.latitude" id="latitude"  value="{{lz.htm(distributor.latitude)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的纬度</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{latitude_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="latitude">{{distributor.latitude}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.latitude$||distributor.latitude)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$latitude}}
					
	{{lz.set("termsConditions_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"termsConditions"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"termsConditions"))))}}
	{{lz.set("termsConditions_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$termsConditions}}
	<dl lz:if="{{termsConditions_editable||termsConditions_readonly}}" class="ribs termsConditions  " major  ref="termsConditions">
		<dt>条款情况:</dt>
		<dd lz:if="{{termsConditions_editable}}" input="select">
			<lz:block lz:if="{{distributor$termsConditions}}">
				{{distributor$termsConditions}}
			</lz:block>
			<lz:block lz:if="{{!distributor$termsConditions}}">
		 	<select class="narrow" id="termsConditions" name="distributor.termsConditions">
		 		<option value="">请选择</option>
				<option value="1" selected='{{distributor.termsConditions=="1"?"selected":""}}'>同意</option>
				<option value="2" selected='{{distributor.termsConditions=="2"?"selected":""}}'>不同意</option>
		 	</select>
	 	 </lz:block>
	 	 
	 	 <em>请选择配送商信息的条款情况</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{termsConditions_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="termsConditions">{{distributor.termsConditions}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.termsConditions$||distributor.termsConditions)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$termsConditions}}
					
	{{lz.set("perfectSituation_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"perfectSituation"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"perfectSituation"))))}}
	{{lz.set("perfectSituation_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$perfectSituation}}
	<dl lz:if="{{perfectSituation_editable||perfectSituation_readonly}}" class="ribs perfectSituation  " major  ref="perfectSituation">
		<dt>资料完善:</dt>
		<dd lz:if="{{perfectSituation_editable}}" input="number">
			<lz:block lz:if="{{distributor$perfectSituation}}">
				{{distributor$perfectSituation}}
			</lz:block>
			<lz:block lz:if="{{!distributor$perfectSituation}}">
			<input onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="distributor.perfectSituation" id="perfectSituation"  value="{{lz.htm(distributor.perfectSituation)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的资料完善</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{perfectSituation_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="perfectSituation">{{distributor.perfectSituation}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.perfectSituation$||distributor.perfectSituation)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$perfectSituation}}
					
	{{lz.set("coordinateAddress_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"coordinateAddress"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"coordinateAddress"))))}}
	{{lz.set("coordinateAddress_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$coordinateAddress}}
	<dl lz:if="{{coordinateAddress_editable||coordinateAddress_readonly}}" class="ribs coordinateAddress   wider" minor  ref="coordinateAddress">
		<dt>坐标地址:</dt>
		<dd lz:if="{{coordinateAddress_editable}}" input="textarea">
			<lz:block lz:if="{{distributor$coordinateAddress}}">
				{{distributor$coordinateAddress}}
			</lz:block>
			<lz:block lz:if="{{!distributor$coordinateAddress}}">
		 	<textarea class="input wide"  id="coordinateAddress" name="distributor.coordinateAddress" rows="5">{{distributor.coordinateAddress}}</textarea>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的坐标地址</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{coordinateAddress_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(distributor.coordinateAddress$||distributor.coordinateAddress)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$coordinateAddress}}
					
	{{lz.set("dFormid_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"dFormid"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"dFormid"))))}}
	{{lz.set("dFormid_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$dFormid}}
	<dl lz:if="{{dFormid_editable||dFormid_readonly}}" class="ribs dFormid  " minor  ref="dFormid">
		<dt>formId:</dt>
		<dd lz:if="{{dFormid_editable}}" input="text">
			<lz:block lz:if="{{distributor$dFormid}}">
				{{distributor$dFormid}}
			</lz:block>
			<lz:block lz:if="{{!distributor$dFormid}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.dFormid" id="dFormid"  value="{{lz.htm(distributor.dFormid)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的formId</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{dFormid_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="dFormid">{{distributor.dFormid}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.dFormid$||distributor.dFormid)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$dFormid}}
					
	{{lz.set("updateTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"updateTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"updateTime"))))}}
	{{lz.set("updateTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$updateTime}}
	<dl lz:if="{{updateTime_editable||updateTime_readonly}}" class="updateTime  " major  ref="updateTime">
		<dt>修改时间:</dt>
		<dd lz:if="{{updateTime_editable}}" input="datetime">
			<lz:block lz:if="{{distributor$updateTime}}">
				{{distributor$updateTime}}
			</lz:block>
			<lz:block lz:if="{{!distributor$updateTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="distributor.updateTime" id="updateTime"  value="{{distributor.updateTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择配送商信息的修改时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{updateTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="updateTime">{{distributor.updateTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.updateTime$||distributor.updateTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$updateTime}}
					
	{{lz.set("addTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"addTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"addTime"))))}}
	{{lz.set("addTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$addTime}}
	<dl lz:if="{{addTime_editable||addTime_readonly}}" class="addTime  " major  ref="addTime">
		<dt>添加时间:</dt>
		<dd lz:if="{{addTime_editable}}" input="datetime">
			<lz:block lz:if="{{distributor$addTime}}">
				{{distributor$addTime}}
			</lz:block>
			<lz:block lz:if="{{!distributor$addTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="distributor.addTime" id="addTime"  value="{{distributor.addTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择配送商信息的添加时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{addTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="addTime">{{distributor.addTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.addTime$||distributor.addTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$addTime}}
					
	{{lz.set("status_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"status"))))&&false)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"status"))))}}
	{{lz.set("status_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
				
	
	{{before$status}}
	<dl lz:if="{{status_editable||status_readonly}}" class="status  " major  ref="status">
		<dt>状　　态:</dt>
		<dd lz:if="{{status_editable}}" input="select">
			<lz:block lz:if="{{distributor$status}}">
				{{distributor$status}}
			</lz:block>
			<lz:block lz:if="{{!distributor$status}}">
		 	<select class="narrow" id="status" name="distributor.status">
		 		<option value="">请选择</option>
				<option value="0" selected='{{distributor.status=="0"?"selected":""}}'>审核中</option>
				<option value="1" selected='{{distributor.status=="1"?"selected":""}}'>审核通过</option>
				<option value="2" selected='{{distributor.status=="2"?"selected":""}}'>审核拒绝</option>
				<option value="3" selected='{{distributor.status=="3"?"selected":""}}'>禁用账号</option>
		 	</select>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择配送商信息的状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{status_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="status">{{distributor.status}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.status$||distributor.status)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$status}}
			
			
			
			<div class="line">
				<center lz:if="{{edittype=='insert'}}">
					<a onclick="$('.ribs').show();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:inline;padding: 0px 15px;">点击展开更多编辑项</a>
					<a onclick="$('.ribs').hide();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:none;padding: 0px 15px;">点击收起更多编辑项</a>
				</center>
			</div>
			<center class="buttons">
				<input type="hidden" value="{{distributor.id}}" name="distributor.id" id="id" />
			
			<lz:block lz:if="{{edittype=='insert'||edittype=='update'||edittype=='any'||edittype=='inport'}}">
				<button class="button" type="submit">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					保存&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
			
			<lz:block lz:if="{{edittype=='detail'}}">
				
				
					
						
					<lz:block lz:if="{{true && distributor.status==0}}">
						
						<button lz:if="{{canExp[0]==true}}" type="button" class="button" onclick='window.location.href="/admin/delivery/distributor.edit.html?id={{distributor.id}}&edittype=adopt"'>
							审核通过
						</button>
						
					</lz:block>
						
					
						
					<lz:block lz:if="{{true && distributor.status==0}}">
						
						<button lz:if="{{canExp[1]==true}}" type="button" class="button" onclick='window.location.href="/admin/delivery/distributor.edit.html?id={{distributor.id}}&edittype=refuse"'>
							审核拒绝
						</button>
						
					</lz:block>
						
					
				
				
				
				
				
				
				
				<button lz:if="{{canEdit}}" type="button" class="button" onclick='window.location.href="/admin/delivery/distributor.edit.html?edittype=update&id={{distributor.id}}"'>
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					修改&nbsp;&nbsp;</button>
				
				
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
					
			</center>
			<br/>

		</div>
	</div>
	<div class="foot"></div>		
</form>



	
{{lz.set("form_adopt_test",(true  && distributor.status==0))}}
	
<form lz:if="{{form_adopt_test && edittype=='adopt'}}" class="form editform"  ref="Distributor" id="distributorForm" name="distributorForm" target="jsoniframe" action="distributor.{{edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt">
				温馨提示：请仔细填写配送商信息相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			
			
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />		
			<input type="hidden" value="{{edittype}}" name="edittype" id="edittype" />
			<input type="hidden" value="{{method}}" name="method" id="method" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
				
			
	{{lz.set("id_editable",false)}}
	{{lz.set("id_readonly",true)}}
				
	
	{{before$id}}
	<dl lz:if="{{id_editable||id_readonly}}" class="id hidden " major  ref="id">
		<dt>编　　号:</dt>
		<dd lz:if="{{id_editable}}" input="hidden">
			<lz:block lz:if="{{distributor$id}}">
				{{distributor$id}}
			</lz:block>
			<lz:block lz:if="{{!distributor$id}}">
			<input type="hidden" value="{{lz.htm(distributor.id)}}" name="distributor.id" id="id" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{id_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="id">{{distributor.id}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.id$||distributor.id)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$id}}
			
	{{lz.set("name_editable",false)}}
	{{lz.set("name_readonly",true)}}
				
	
	{{before$name}}
	<dl lz:if="{{name_editable||name_readonly}}" class="name  " major  ref="name">
		<dt>配送商名称:</dt>
		<dd lz:if="{{name_editable}}" input="text">
			<lz:block lz:if="{{distributor$name}}">
				{{distributor$name}}
			</lz:block>
			<lz:block lz:if="{{!distributor$name}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.name" id="name"  value="{{lz.htm(distributor.name)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商信息的配送商名称</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{name_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="name">{{distributor.name}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.name$||distributor.name)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$name}}
			
	{{lz.set("shopPicture_editable",false)}}
	{{lz.set("shopPicture_readonly",true)}}
				
	
	{{before$shopPicture}}
	<dl lz:if="{{shopPicture_editable||shopPicture_readonly}}" class="ribs shopPicture   wider" major  ref="shopPicture">
		<dt>店面图片:</dt>
		<dd lz:if="{{shopPicture_editable}}" input="image">
			<lz:block lz:if="{{distributor$shopPicture}}">
				{{distributor$shopPicture}}
			</lz:block>
			<lz:block lz:if="{{!distributor$shopPicture}}">
		    <input type="text" class="input" maxlength="128" size="32" name="distributor.shopPicture" id="shopPicture"  value="{{lz.htm(distributor.shopPicture)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#shopPicture').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#shopPicture').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#shopPicture').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 
	 	 <em>请上传配送商信息的店面图片</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{shopPicture_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="shopPicture">{{distributor.shopPicture}}</textarea>
		 		<span>
		 	<img lz:if="{{distributor.shopPicture}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(distributor.shopPicture)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$shopPicture}}
			
	{{lz.set("mobile_editable",false)}}
	{{lz.set("mobile_readonly",true)}}
				
	
	{{before$mobile}}
	<dl lz:if="{{mobile_editable||mobile_readonly}}" class="mobile  " major  ref="mobile">
		<dt>手 机 号:</dt>
		<dd lz:if="{{mobile_editable}}" input="text">
			<lz:block lz:if="{{distributor$mobile}}">
				{{distributor$mobile}}
			</lz:block>
			<lz:block lz:if="{{!distributor$mobile}}">
		 	<input type="text" class="input narrow"   name="distributor.mobile" id="mobile"  value="{{lz.htm(distributor.mobile)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商信息的手机号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{mobile_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="mobile">{{distributor.mobile}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.mobile$||distributor.mobile)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$mobile}}
			
	{{lz.set("contacts_editable",false)}}
	{{lz.set("contacts_readonly",true)}}
				
	
	{{before$contacts}}
	<dl lz:if="{{contacts_editable||contacts_readonly}}" class="ribs contacts  " major  ref="contacts">
		<dt>联 系 人:</dt>
		<dd lz:if="{{contacts_editable}}" input="text">
			<lz:block lz:if="{{distributor$contacts}}">
				{{distributor$contacts}}
			</lz:block>
			<lz:block lz:if="{{!distributor$contacts}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.contacts" id="contacts"  value="{{lz.htm(distributor.contacts)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的联系人</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{contacts_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="contacts">{{distributor.contacts}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.contacts$||distributor.contacts)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$contacts}}
			
	{{lz.set("address_editable",false)}}
	{{lz.set("address_readonly",true)}}
				
	
	{{before$address}}
	<dl lz:if="{{address_editable||address_readonly}}" class="ribs address   wider" minor  ref="address">
		<dt>配送商地址:</dt>
		<dd lz:if="{{address_editable}}" input="textarea">
			<lz:block lz:if="{{distributor$address}}">
				{{distributor$address}}
			</lz:block>
			<lz:block lz:if="{{!distributor$address}}">
		 	<textarea class="input wide"  id="address" name="distributor.address" rows="5">{{distributor.address}}</textarea>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的配送商地址</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{address_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(distributor.address$||distributor.address)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$address}}
			
	{{lz.set("location_editable",false)}}
	{{lz.set("location_readonly",true)}}
				
	
	{{before$location}}
	<dl lz:if="{{location_editable||location_readonly}}" class="ribs location  " major  ref="location">
		<dt>所 在 地:</dt>
		<dd lz:if="{{location_editable}}" input="tree">
			<lz:block lz:if="{{distributor$location}}">
				{{distributor$location}}
			</lz:block>
			<lz:block lz:if="{{!distributor$location}}">
		  			<select class="tree narrow"  id="location" name="distributor.location" action="/admin/setting/region.query.do?parenter={param}">
						<option value="{{lz.htm(distributor.location)}}">{{distributor.location$||distributor.location}}</option>
					</select>			  		
	 	 </lz:block>
	 	 
	 	 <em>请选择配送商信息的所在地</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{location_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="location">{{distributor.location}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/setting/region.details.html?key=distributor.location}')">
			 {{lz.html(distributor.location$||distributor.location)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$location}}
			
	{{lz.set("member_editable",false)}}
	{{lz.set("member_readonly",true)}}
				
	
	{{before$member}}
	<dl lz:if="{{member_editable||member_readonly}}" class="member  " major  ref="member">
		<dt>会员信息:</dt>
		<dd lz:if="{{member_editable}}" input="query">
			<lz:block lz:if="{{distributor$member}}">
				{{distributor$member}}
			</lz:block>
			<lz:block lz:if="{{!distributor$member}}">
		 			<input title="请输入会员信息昵称进行查询" class="combox narrow" action="/admin/users/member.query.do?value={param}" type="text" id="member" name="distributor.member" text="{{lz.html(distributor.member$||distributor.member)}}" value="{{lz.htm(distributor.member)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#member').val())==''){return;};window.href('/admin/users/member.detail.html?key='+$('#member').val())"></a>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{member_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="member">{{distributor.member}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/users/member.details.html?key=distributor.member}')">
			 {{lz.html(distributor.member$||distributor.member)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$member}}
			
	{{lz.set("deliveryTime_editable",false)}}
	{{lz.set("deliveryTime_readonly",true)}}
				
	
	{{before$deliveryTime}}
	<dl lz:if="{{deliveryTime_editable||deliveryTime_readonly}}" class="ribs deliveryTime  " major  ref="deliveryTime">
		<dt>提货时间:</dt>
		<dd lz:if="{{deliveryTime_editable}}" input="text">
			<lz:block lz:if="{{distributor$deliveryTime}}">
				{{distributor$deliveryTime}}
			</lz:block>
			<lz:block lz:if="{{!distributor$deliveryTime}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.deliveryTime" id="deliveryTime"  value="{{lz.htm(distributor.deliveryTime)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的提货时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{deliveryTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="deliveryTime">{{distributor.deliveryTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.deliveryTime$||distributor.deliveryTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$deliveryTime}}
			
	{{lz.set("perfectSituation_editable",false)}}
	{{lz.set("perfectSituation_readonly",true)}}
				
	
	{{before$perfectSituation}}
	<dl lz:if="{{perfectSituation_editable||perfectSituation_readonly}}" class="ribs perfectSituation  " major  ref="perfectSituation">
		<dt>资料完善:</dt>
		<dd lz:if="{{perfectSituation_editable}}" input="number">
			<lz:block lz:if="{{distributor$perfectSituation}}">
				{{distributor$perfectSituation}}
			</lz:block>
			<lz:block lz:if="{{!distributor$perfectSituation}}">
			<input onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="distributor.perfectSituation" id="perfectSituation"  value="{{lz.htm(distributor.perfectSituation)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的资料完善</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{perfectSituation_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="perfectSituation">{{distributor.perfectSituation}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.perfectSituation$||distributor.perfectSituation)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$perfectSituation}}
			
	{{lz.set("auditOpinion_editable",true)}}
	{{lz.set("auditOpinion_readonly",false)}}
				
	
	{{before$auditOpinion}}
	<dl lz:if="{{auditOpinion_editable||auditOpinion_readonly}}" class="auditOpinion   wider" minor  ref="auditOpinion">
		<dt>审核意见:</dt>
		<dd lz:if="{{auditOpinion_editable}}" input="textarea">
			<lz:block lz:if="{{distributor$auditOpinion}}">
				{{distributor$auditOpinion}}
			</lz:block>
			<lz:block lz:if="{{!distributor$auditOpinion}}">
		 	<textarea class="input wide"  id="auditOpinion" name="distributor.auditOpinion" rows="5">{{distributor.auditOpinion}}</textarea>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的审核意见</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{auditOpinion_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(distributor.auditOpinion$||distributor.auditOpinion)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$auditOpinion}}
			
			
			<div class="line"></div>
			<center class="buttons">
				<input type="hidden" value="{{distributor.id}}" name="distributor.id" id="id" />
				
							
					<button class="button" type="submit" name="distributor.status" value="1">
					
					&nbsp;&nbsp;审核通过&nbsp;&nbsp;</button>
					
				
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel()" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭窗口&nbsp;&nbsp;</button>
			</center>
			<br/>
			
		</div>	
	</div>
	<div class="foot"></div>		
</form>
	
<div lz:if="{{!form_adopt_test && edittype=='adopt'}}" class="form editform">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<br/>
			<center>
				<font color="red"><h4>当前流程不在'审核通过'</h4></font>
			</center>
			<br/>
		</div>
	</div>
</div>
	

	
{{lz.set("form_refuse_test",(true  && distributor.status==0))}}
	
<form lz:if="{{form_refuse_test && edittype=='refuse'}}" class="form editform"  ref="Distributor" id="distributorForm" name="distributorForm" target="jsoniframe" action="distributor.{{edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt">
				温馨提示：请仔细填写配送商信息相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			
			
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />		
			<input type="hidden" value="{{edittype}}" name="edittype" id="edittype" />
			<input type="hidden" value="{{method}}" name="method" id="method" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
				
			
	{{lz.set("id_editable",false)}}
	{{lz.set("id_readonly",true)}}
				
	
	{{before$id}}
	<dl lz:if="{{id_editable||id_readonly}}" class="id hidden " major  ref="id">
		<dt>编　　号:</dt>
		<dd lz:if="{{id_editable}}" input="hidden">
			<lz:block lz:if="{{distributor$id}}">
				{{distributor$id}}
			</lz:block>
			<lz:block lz:if="{{!distributor$id}}">
			<input type="hidden" value="{{lz.htm(distributor.id)}}" name="distributor.id" id="id" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{id_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="id">{{distributor.id}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.id$||distributor.id)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$id}}
			
	{{lz.set("name_editable",false)}}
	{{lz.set("name_readonly",true)}}
				
	
	{{before$name}}
	<dl lz:if="{{name_editable||name_readonly}}" class="name  " major  ref="name">
		<dt>配送商名称:</dt>
		<dd lz:if="{{name_editable}}" input="text">
			<lz:block lz:if="{{distributor$name}}">
				{{distributor$name}}
			</lz:block>
			<lz:block lz:if="{{!distributor$name}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.name" id="name"  value="{{lz.htm(distributor.name)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商信息的配送商名称</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{name_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="name">{{distributor.name}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.name$||distributor.name)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$name}}
			
	{{lz.set("shopPicture_editable",false)}}
	{{lz.set("shopPicture_readonly",true)}}
				
	
	{{before$shopPicture}}
	<dl lz:if="{{shopPicture_editable||shopPicture_readonly}}" class="ribs shopPicture   wider" major  ref="shopPicture">
		<dt>店面图片:</dt>
		<dd lz:if="{{shopPicture_editable}}" input="image">
			<lz:block lz:if="{{distributor$shopPicture}}">
				{{distributor$shopPicture}}
			</lz:block>
			<lz:block lz:if="{{!distributor$shopPicture}}">
		    <input type="text" class="input" maxlength="128" size="32" name="distributor.shopPicture" id="shopPicture"  value="{{lz.htm(distributor.shopPicture)}}"/>
			<button type="button" onclick="$.upload({type:'img',callback:function(url){if(url)$('#shopPicture').val(url)}})" class="button">设置图片</button>
			<button type="button" onclick="$('#shopPicture').val('')" class="button">删除图片</button>
			<button type="button" onclick="$.thumb({url:$('#shopPicture').val()})" class="button">查看图片</button>
	 	 </lz:block>
	 	 
	 	 <em>请上传配送商信息的店面图片</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{shopPicture_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="shopPicture">{{distributor.shopPicture}}</textarea>
		 		<span>
		 	<img lz:if="{{distributor.shopPicture}}" onclick="$.thumb({url:this.src})" style="margin:10px;padding:1px;border:1px solid;" onload="if(this.width>this.height){this.width=96}else{this.height=96}" src="{{lz.htm(distributor.shopPicture)}}"/>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$shopPicture}}
			
	{{lz.set("mobile_editable",false)}}
	{{lz.set("mobile_readonly",true)}}
				
	
	{{before$mobile}}
	<dl lz:if="{{mobile_editable||mobile_readonly}}" class="mobile  " major  ref="mobile">
		<dt>手 机 号:</dt>
		<dd lz:if="{{mobile_editable}}" input="text">
			<lz:block lz:if="{{distributor$mobile}}">
				{{distributor$mobile}}
			</lz:block>
			<lz:block lz:if="{{!distributor$mobile}}">
		 	<input type="text" class="input narrow"   name="distributor.mobile" id="mobile"  value="{{lz.htm(distributor.mobile)}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商信息的手机号</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{mobile_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="mobile">{{distributor.mobile}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.mobile$||distributor.mobile)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$mobile}}
			
	{{lz.set("contacts_editable",false)}}
	{{lz.set("contacts_readonly",true)}}
				
	
	{{before$contacts}}
	<dl lz:if="{{contacts_editable||contacts_readonly}}" class="ribs contacts  " major  ref="contacts">
		<dt>联 系 人:</dt>
		<dd lz:if="{{contacts_editable}}" input="text">
			<lz:block lz:if="{{distributor$contacts}}">
				{{distributor$contacts}}
			</lz:block>
			<lz:block lz:if="{{!distributor$contacts}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.contacts" id="contacts"  value="{{lz.htm(distributor.contacts)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的联系人</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{contacts_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="contacts">{{distributor.contacts}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.contacts$||distributor.contacts)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$contacts}}
			
	{{lz.set("address_editable",false)}}
	{{lz.set("address_readonly",true)}}
				
	
	{{before$address}}
	<dl lz:if="{{address_editable||address_readonly}}" class="ribs address   wider" minor  ref="address">
		<dt>配送商地址:</dt>
		<dd lz:if="{{address_editable}}" input="textarea">
			<lz:block lz:if="{{distributor$address}}">
				{{distributor$address}}
			</lz:block>
			<lz:block lz:if="{{!distributor$address}}">
		 	<textarea class="input wide"  id="address" name="distributor.address" rows="5">{{distributor.address}}</textarea>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的配送商地址</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{address_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(distributor.address$||distributor.address)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$address}}
			
	{{lz.set("location_editable",false)}}
	{{lz.set("location_readonly",true)}}
				
	
	{{before$location}}
	<dl lz:if="{{location_editable||location_readonly}}" class="ribs location  " major  ref="location">
		<dt>所 在 地:</dt>
		<dd lz:if="{{location_editable}}" input="tree">
			<lz:block lz:if="{{distributor$location}}">
				{{distributor$location}}
			</lz:block>
			<lz:block lz:if="{{!distributor$location}}">
		  			<select class="tree narrow"  id="location" name="distributor.location" action="/admin/setting/region.query.do?parenter={param}">
						<option value="{{lz.htm(distributor.location)}}">{{distributor.location$||distributor.location}}</option>
					</select>			  		
	 	 </lz:block>
	 	 
	 	 <em>请选择配送商信息的所在地</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{location_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="location">{{distributor.location}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/setting/region.details.html?key=distributor.location}')">
			 {{lz.html(distributor.location$||distributor.location)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$location}}
			
	{{lz.set("member_editable",false)}}
	{{lz.set("member_readonly",true)}}
				
	
	{{before$member}}
	<dl lz:if="{{member_editable||member_readonly}}" class="member  " major  ref="member">
		<dt>会员信息:</dt>
		<dd lz:if="{{member_editable}}" input="query">
			<lz:block lz:if="{{distributor$member}}">
				{{distributor$member}}
			</lz:block>
			<lz:block lz:if="{{!distributor$member}}">
		 			<input title="请输入会员信息昵称进行查询" class="combox narrow" action="/admin/users/member.query.do?value={param}" type="text" id="member" name="distributor.member" text="{{lz.html(distributor.member$||distributor.member)}}" value="{{lz.htm(distributor.member)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#member').val())==''){return;};window.href('/admin/users/member.detail.html?key='+$('#member').val())"></a>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{member_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="member">{{distributor.member}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/users/member.details.html?key=distributor.member}')">
			 {{lz.html(distributor.member$||distributor.member)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$member}}
			
	{{lz.set("deliveryTime_editable",false)}}
	{{lz.set("deliveryTime_readonly",true)}}
				
	
	{{before$deliveryTime}}
	<dl lz:if="{{deliveryTime_editable||deliveryTime_readonly}}" class="ribs deliveryTime  " major  ref="deliveryTime">
		<dt>提货时间:</dt>
		<dd lz:if="{{deliveryTime_editable}}" input="text">
			<lz:block lz:if="{{distributor$deliveryTime}}">
				{{distributor$deliveryTime}}
			</lz:block>
			<lz:block lz:if="{{!distributor$deliveryTime}}">
		 	<input type="text" class="input narrow"  maxlength="32" name="distributor.deliveryTime" id="deliveryTime"  value="{{lz.htm(distributor.deliveryTime)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的提货时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{deliveryTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="deliveryTime">{{distributor.deliveryTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.deliveryTime$||distributor.deliveryTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$deliveryTime}}
			
	{{lz.set("perfectSituation_editable",false)}}
	{{lz.set("perfectSituation_readonly",true)}}
				
	
	{{before$perfectSituation}}
	<dl lz:if="{{perfectSituation_editable||perfectSituation_readonly}}" class="ribs perfectSituation  " major  ref="perfectSituation">
		<dt>资料完善:</dt>
		<dd lz:if="{{perfectSituation_editable}}" input="number">
			<lz:block lz:if="{{distributor$perfectSituation}}">
				{{distributor$perfectSituation}}
			</lz:block>
			<lz:block lz:if="{{!distributor$perfectSituation}}">
			<input onkeyup="var reg=/^-?(([1-9]\d{0,9})|0)?/;this.value=this.value.match(reg)?this.value.match(reg)[0]:''" type="text" class="input narrow"  maxlength="8" name="distributor.perfectSituation" id="perfectSituation"  value="{{lz.htm(distributor.perfectSituation)}}"/>
	 	 </lz:block>
	 	 
	 	 <em>请输入配送商信息的资料完善</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{perfectSituation_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="perfectSituation">{{distributor.perfectSituation}}</textarea>
		 		<span>
		 	
			 {{lz.html(distributor.perfectSituation$||distributor.perfectSituation)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$perfectSituation}}
			
	{{lz.set("auditOpinion_editable",true)}}
	{{lz.set("auditOpinion_readonly",false)}}
				
	
	{{before$auditOpinion}}
	<dl lz:if="{{auditOpinion_editable||auditOpinion_readonly}}" class="auditOpinion   wider" major  ref="auditOpinion">
		<dt>审核意见:</dt>
		<dd lz:if="{{auditOpinion_editable}}" input="textarea">
			<lz:block lz:if="{{distributor$auditOpinion}}">
				{{distributor$auditOpinion}}
			</lz:block>
			<lz:block lz:if="{{!distributor$auditOpinion}}">
		 	<textarea class="input wide"  id="auditOpinion" name="distributor.auditOpinion" rows="5">{{distributor.auditOpinion}}</textarea>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请输入配送商信息的审核意见</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{auditOpinion_readonly}}">
		 	<div class="state-input wide">
		 		<span>
		 	
			 {{lz.html(distributor.auditOpinion$||distributor.auditOpinion)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$auditOpinion}}
			
			
			<div class="line"></div>
			<center class="buttons">
				<input type="hidden" value="{{distributor.id}}" name="distributor.id" id="id" />
				
							
					<button class="button" type="submit" name="distributor.status" value="2">
					
					&nbsp;&nbsp;审核不通过&nbsp;&nbsp;</button>
					
				
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel()" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭窗口&nbsp;&nbsp;</button>
			</center>
			<br/>
			
		</div>	
	</div>
	<div class="foot"></div>		
</form>
	
<div lz:if="{{!form_refuse_test && edittype=='refuse'}}" class="form editform">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<br/>
			<center>
				<font color="red"><h4>当前流程不在'审核拒绝'</h4></font>
			</center>
			<br/>
		</div>
	</div>
</div>
	



 


<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>


</body>

<!------------------------VIEW_HTML_FOOTER------------------------>
<!------------------------VIEW_HTML_FOOTER------------------------>
<script>
	
	$(function(){
		if(parent.setit){
			parent.setit("/admin/delivery/distributor.edit.html",document.title,"/admin//images/icons/20376_LorryGreen.png");
		}
	});
	
	function cancel(){
		if(parent.closeHref){
			parent.closeHref("/admin/delivery/distributor.edit.html");
		}else{
			$.closeModalDialog();
		}
	}



</script>
</html>